#!/bin/sh

# versions
BINUTILS_VER=2.18.50.0.1
GCC_VER=4.1
LINUX_VER=2.6.9.1
UCLIBC_VER=0.9.29

# system config
CTARGET=arm-unknown-linux-uclibc
CARCH=arm
CPREFIX=/ffp
CSYSCONFDIR=/ffp/etc

# --with-lib-path
#   libc is installed below $CPREFIX and we hardcode the dynamic
#   linker path into all executables
BINUTILS_EXTRA_CONFIG="--with-lib-path=$CPREFIX/lib --disable-multilib"

# --disable-tls
#   uClibc does not support Thread-Local Storage (__aebi_read_tp
#   missing) binutils supports TLS (and gcc detects it), so we need to
#   explicitly disable tls
GCC_EXTRA_CONFIG="--with-local-prefix=$CPREFIX --disable-multilib --disable-libssp --disable-libgomp --disable-libmudflap --disable-tls --with-float=soft"


